package com.cn.sl.server.api.system.department.service

import com.cn.sl.server.api.system.department.model.dto.AddDepartmentDto
import com.cn.sl.server.api.system.department.model.dto.DepartmentDto
import com.cn.sl.server.api.system.department.model.dto.EditDepartmentDto

interface DepartmentService {
    fun findAll(): List<DepartmentDto>
    fun add(dto: AddDepartmentDto)
    fun edit(dto: EditDepartmentDto)
    fun findById(id: Long): DepartmentDto
    fun delete(id: Long)
}